package com.github.easyms.common.entity.auth;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.easyms.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author Leo.Liao
 * 用户组
 * @date 2020-04-09 14:46:34
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("es_auth_role")
public class Role extends BaseEntity {

    @TableId
    private String roleId;
    private String roleName;
    @TableField(exist = false)
    private List<String> accessList;
    @TableField(exist = false)
    private Integer authMenuCount;
    @TableField(exist = false)
    private Integer menuCount;

}
